Memsource\Service\Content\AbstractPostService S

Total Complexity 38
Dependencies 16
Dependents 0
Total lines 350
Lines of code 192
Logical lines of code 105
Comment lines 72
Methods 15
Properties 5

Methods 15

Method Rating Maintainability Complexity Lines of code
addOrUpdateTranslation()
A
42 7 51
getItems()
A
51 8 25
saveTranslation()
S
53 3 21
getItem()
S
59 3 13
getPostJson()
S
53 2 22
transferTermsFromSourceToTarget()
S
66 3 8
getLastRevision()
S
62 2 12
allowStyleTag()
S
69 2 7
getPreviewPostLink()
S
69 2 6
__construct()
S
66 1 8
getBaseType()
S
82 1 3
isFolder()
S
82 1 3
getPost()
S
76 1 4
calculatePostSize()
S
78 1 3
getPostJsonWithOriginalData()
S
69 1 6